package aopAnnotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringAOPTest {

	public static void main(String[] args) {
		ApplicationContext ctx = new ClassPathXmlApplicationContext("aopAnnotation/beanAop.xml");
		PersonServer bean = (PersonServer) ctx.getBean("personServiceBean");
		bean.save(null);
	}
}
